home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozlib15.zoo / sozdistr / include / xdlibs / setjmp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-28  |  362 b   |  15 lines

  1. #ifndef _SETJMP_H
  2. #define _SETJMP_H
  3. /* this structure is needed for the setjmp() and longjmp() functions */
  4.  
  5. typedef    unsigned long    jmp_buf[13];    /* a7, a6, (a7), d2-d7/a2-a5 */
  6.  
  7. int    setjmp    (jmp_buf);
  8. void    longjmp    (jmp_buf, int);
  9. /* problems ...
  10. int    catch (jmp_buf id, int (*fn )(void ));
  11. void    throw (jmp_buf id, int rv);
  12.  */
  13.  
  14. #endif /* _SETJMP_H */
  15.